import request from "@/utils/request";

// 获取系统协议列表
export function getAgreementApi(query) {
  return request({
    url: "/system/agreement/list",
    method: "get",
    params: query,
  });
}

// 新增系统协议
export function addAgreementApi(data) {
  return request({
    url: "/system/agreement/add",
    method: "post",
    data: data,
  });
}
